/**
 * Created by CK on 2016/10/17.
 */
var list;
$(document).ready(function () {
    list = $('#List');
    $('.xh-datagrid-toolbar').parseToolbar(afterParseToolbar);
    list.initDataGrid('getManageErrorData').setSelectThenEnable(['bt_list_del']);
    $('#bt_list_del').click(function () {
        var ids = list.getDataGridSelectedFields('iErrorId');
        $.overtFun.clickDelList(ids, baseUrl + 'Log/delManageErrorData');
    });
});
function afterParseToolbar()
{
    $.overtFun.vagueSearch(list);
}